﻿@{
    ViewBag.Title = "推荐一些好的博客";
    Layout = "~/Views/Shared/_BlogLayoutPage.cshtml";
}
<style>
    .recontent {
        text-align: center;
       /* border: 1px solid red;*/
        margin-bottom: 50px;
    }

        .recontent ul li {
            display: inline-block;
            background-color: rosybrown;
            width: 330px;
            height: 250px;
            border: 1px solid black;
            text-align: center;
            line-height: 250px;
            margin-top: 4px;
        }
</style>

<div class="recontent">
    <div>
        <ul>
            <li>
                <div>1</div>
            </li>
            <li>
                <div>1</div>
            </li>
            <li>
                <div>1</div>
            </li>
            <li>
                <div>1</div>
            </li>
            <li>
                <div>1</div>
            </li>
            <li>
                <div>1</div>
            </li>
            <li>
                <div>1</div>
            </li>
    </div>

</div>
@section scripts{
    <script>
        layui.use(['jquery','element'], function () {
            var $ = layui.jquery,element=layui.element;
            $(".layui-this").removeClass("layui-this");
            $(".layui-nav li:eq(4)").addClass('layui-this')
        })


    </script>
}
